import request from '@/utils/request'

// 查询三方系统管理列表
export function listThird_party(query) {
  return request({
    url: '/oil/third_party/list',
    method: 'get',
    params: query
  })
}

// 查询三方系统管理详细
export function getThird_party(id) {
  return request({
    url: '/oil/third_party/' + id,
    method: 'get'
  })
}

// 新增三方系统管理
export function addThird_party(data) {
  return request({
    url: '/oil/third_party',
    method: 'post',
    data: data
  })
}

// 修改三方系统管理
export function updateThird_party(data) {
  return request({
    url: '/oil/third_party',
    method: 'put',
    data: data
  })
}

// 删除三方系统管理
export function delThird_party(id) {
  return request({
    url: '/oil/third_party/' + id,
    method: 'delete'
  })
}
